﻿using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Office.Interop.Word;

namespace WFL.Office.Word
{
    public class WordPageSetup
    {
        public float TopMargin
        {
            get { return _pageSetup.TopMargin; }
            set { _pageSetup.TopMargin = value; }
        }

        public float BottomMargin
        {
            get { return _pageSetup.BottomMargin; }
            set { _pageSetup.BottomMargin = value; }
        }

        public float LeftMargin
        {
            get { return _pageSetup.LeftMargin; }
            set { _pageSetup.LeftMargin = value; }
        }

        public float RightMargin
        {
            get { return _pageSetup.RightMargin; }
            set { _pageSetup.RightMargin = value; }
        }

        private PageSetup _pageSetup;

        public WordDocument Document
        {
            get;
            internal set;
        }

        internal WordPageSetup(PageSetup pageSetup)
        {
            _pageSetup = pageSetup;
        }
    }
}
